package com.punch.system.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * SysDictKey-数据字典key
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/6/3 20:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dict_key")
public class SysDictKey extends SuperEntity<SysDictKey> {

    private static final long serialVersionUID = 1L;

    /**
     * 父id,方便扩展,暂时未用
     */
    @TableField("pid")
    private Long pid;

    /**
     * 字典key
     */
    @TableField("dict_key")
    private String dictKey;

    /**
     * key名称
     */
    @TableField("key_name")
    private String keyName;

    /**
     * 状态 0-停用 1启用
     */
    @TableField("status")
    private Integer status;

}
